@extends('Layout/layout')
@section('yemian')
<style type="text/css">
	.e_css {
    background: url(/public/images/lift_li_02_02.gif) no-repeat;
    width: 179px;
    font-weight: bold;
    color: #000;
    z-index: 1;
	}
</style>
<script type="text/javascript">
	$(document).ready(function(){ 
	 
		document.getElementById("person").className = "e_css";
	}); 
</script>
<form action="{{ url('Personnel/Socialinsurance/insert') }}" method="post" enctype="multipart/form-data">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg_xz">
<tr>
<td width="5%" class="mian_b_bg_lm">&nbsp;</td>
<td colspan="3" class="mian_b_bg_lm"><h1>员工社保添加</h1></td>
</tr>

<tr>
<td>&nbsp;</td>
<td width="10%" valign="top">员工姓名：</td>
<td width="60%">


<select name="PersonID"  class="input_01">
@foreach ($res as $k=>$v)
    <option value="{{ $v['id'] }}">{{ $v['PersonName'] }}</option>   
@endforeach

</select></td>
<td width="25%">&nbsp;</td>
</tr>


<tr>
<td>&nbsp;</td>
<td width="10%" valign="top">月份：</td>
<td width="60%"><input type="text" name="Month" class="input_01"></td>
<td width="25%">&nbsp;</td>
</tr>  



<tr>
<td>&nbsp;</td>
<td width="10%" valign="top">公积金：</td>
<td width="60%">
<input type="text" name="AccumulationFund"  class="input_01">
 </td>
<td width="25%">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td width="10%" valign="top">养老保险：</td>
<td width="60%">
<input type="text" name="Endowment"  class="input_01">
 </td>
<td width="25%">&nbsp;</td>
</tr>

<tr>
<td>&nbsp;</td>
<td width="10%" valign="top">失业保险：</td>
<td width="60%">
<input type="text" name="Unemployment"  class="input_01">
 </td>
<td width="25%">&nbsp;</td>
</tr><tr>
<td>&nbsp;</td>
<td width="10%" valign="top">医疗保险：</td>
<td width="60%">
<input type="text" name="Medical"  class="input_01">
 </td>
<td width="25%">&nbsp;</td>
</tr><tr>
<td>&nbsp;</td>
<td width="10%" valign="top">工伤保险：</td>
<td width="60%">
<input type="text" name="EmploymentInjury"  class="input_01">
 </td>
<td width="25%">&nbsp;</td>
</tr><tr>
<td>&nbsp;</td>
<td width="10%" valign="top">生育保险：</td>
<td width="60%">
<input type="text" name="Maternity"  class="input_01">
 </td>
<td width="25%">&nbsp;</td>
</tr>



{{ csrf_field()}}
<tr>
<td>&nbsp;</td>
<td width="10%" valign="top"></td>
<td width="60%">

<input type="submit" value="提交">
<input type="reset" value="重置">
</td>
<td width="25%">&nbsp;</td>
</tr>
</table>
</form>
@if (count($errors) > 0)
    <div style="background-color: #d9edf7;border-color: #bce8f1;color: #31708f;border-radius: 4px;margin-bottom: 20px;
    padding: 15px;">
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif
@endsection